package cn.leaf.security.userdetails;

import org.springframework.security.core.userdetails.UserDetailsService;

/**
 *
 * description: 用户详情拓展
 *
 * @author twinkle leaf
 * @version v1.0.0
 * @since 2021-11-07 11:37:16
 * slogan: There are no two identical leaves in the world.
 *
 */
public interface LeafUserDetailsService extends UserDetailsService {

//    /**
//     * 根据手机号登录
//     * @param mobile
//     * @return UserDetails
//     * @throws UsernameNotFoundException
//     */
//    UserDetails loadUserByMobile(String mobile) throws UsernameNotFoundException;
//
//    /**
//     * 根据社交账号登录
//     * @param openId 第三方的绑定的openId
//     * @return
//     * @throws UsernameNotFoundException
//     */
//    UserDetails loadUserBySocial(String openId) throws UsernameNotFoundException;
}
